package com.java.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.entity.Order;

import java.util.List;
import java.util.Map;


/**
 * 订单Mapper接口
 */
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 根据id查询商品大类
     * @param id
     * @return
     */
    public Order findById(Integer id);

    Long getTotal(Map<String, Object> map);

    List<Order> list(Map<String, Object> map);
}

